<!-- 顶部导航 -->
<div class="top">
  <div class="top-inner"> 
    <?php if(empty($member_no)):?>
  	 <span>亲，欢迎来到有试吗</span> 
      <a href="<?=Yii::$app->params['domains']['liketry_url']?>auth/login.php" class="top-login">请登录</a>
      <a href="<?=Yii::$app->params['domains']['liketry_url']?>auth/register.php">免费注册</a> <i></i>
      <?php else:?>
      <a target="_blank"  href='<?=Yii::$app->params['domains']['liketry_url']?>member/index.php'><?=$username?></a>
      <span>
     	 ，欢迎来到有试吗
      </span>
      <span>UID:</span><a target="_blank" href='<?=Yii::$app->params['domains']['liketry_url']?>member/index.php'><?=$member_no?></a><i></i>
      <span>试豆:</span><a target="_blank" href='<?=Yii::$app->params['domains']['liketry_url']?>member/user_xiyuan.php'><?=$score?></a><i></i>
      <a target="_blank" href="<?=\Yii::$app->urlManager->createUrl('order-details/order-list')?>">我的订单<!-- <span class="icon icon-arrow-down2"></span> --></a> <i></i> 
      <a target="_blank" href="<?=Yii::$app->params['domains']['liketry_url']?>member/index.php">个人中心</a><i></i>
      <span>消息:</span><a target="_blank" href='<?=Yii::$app->params['domains']['liketry_url']?>member/user_pm.php'><?=$newmessage_count?></a><i></i>
     <?php endif;?>
    <div class="service-top">
      <div class="service-top-inner">服务保障<span class="icon icon-arrow-down2"></span></div>
      <div class="service-line"></div>
      <div class="service-top-panel">
        <div class="service-item"><span class="icon icon-service1"></span>先试后买</div>
        <div class="service-item"><span class="icon icon-service2"></span>正品保障</div>
        <div class="service-item"><span class="icon icon-service3"></span>9.9包邮</div>
      </div>
    </div>
    <?php if (!empty($member_no)):?>
     <a  href="<?=Yii::$app->params['domains']['liketry_url']?>member/login_out.php">退出</a>
    <?php endif;?>
  </div>
</div>